package com.aerozhonghuan.logisticsmall.modules.user.beans;

import java.io.Serializable;

/**
 * 描述 UserInfo 是授权时的基本信息，UserBean记录了用户的详情信息
 * @author zhangyonghui
 * 创建日期 2019-05-17
 */
public class UserInfo implements Serializable {
    private boolean isLogin;
    private String uuid;
    private String devId;
    private String token;
    private String sid;

    public boolean isLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "isLogin=" + isLogin +
                ", uuid='" + uuid + '\'' +
                ", devId='" + devId + '\'' +
                ", token='" + token + '\'' +
                ", sid='" + sid + '\'' +
                '}';
    }
}
